package com.study.modules.saas.repository.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("bill")
public class BillDO {

    @TableId(value = "id" ,type = IdType.AUTO)
    private Integer id;

    private String uuid;

    @TableField(value = "user_uuid")
    private String userUuid;

    @TableField(value = "auth_uuid")
    private String authUuid;

    @TableField(value = "bill_no")
    private String billId;

    @TableField(value = "order_id")
    private String orderId;

    @TableField(exist = false)
    private OrderDO orderDO;
}
